package com.dianpingmedia.simulate.model;


import javax.validation.constraints.NotNull;

public class ZmAdJsonRequest {

    @NotNull(message = "requestId can't be null")
    private String requestId;
    @NotNull(message = "screenId can't be null")
    private String screenId;
    @NotNull(message = "channelId can't be null")
    private String channelId;
    @NotNull(message = "token can't be null")
    private String token;

    @NotNull(message = "deviceType can't be null")
    private Integer deviceType;
    @NotNull(message = "osType can't be null")
    private Integer osType;
    @NotNull(message = "osVersion can't be null")
    private String osVersion;
    @NotNull(message = "vendor can't be null")
    private String vendor;
    @NotNull(message = "model can't be null")
    private String model;


    private String imei;
    @NotNull(message = "mac can't be null")
    private String mac;

    private String androidId;

    @NotNull(message = "screenSize can't be null")
    private Double screenSize;
    @NotNull(message = "coordinateType can't be null")
    private Integer coordinateType;

    private Double longitude;
    private Double latitude;

    @NotNull(message = "ipv4 can't be null")
    private String ipv4;

    @NotNull(message = "connectionType can't be null")
    private Integer connectionType;

    @NotNull(message = "operatorType can't be null")
    private Integer operatorType;

    private String cellularId;

    @NotNull(message = "screenWidth can't be null")
    private Integer screenWidth;
    @NotNull(message = "screenHeight can't be null")
    private Integer screenHeight;

    public Integer getScreenWidth() {
        return screenWidth;
    }

    public void setScreenWidth(Integer screenWidth) {
        this.screenWidth = screenWidth;
    }

    public Integer getScreenHeight() {
        return screenHeight;
    }

    public void setScreenHeight(Integer screenHeight) {
        this.screenHeight = screenHeight;
    }

    @NotNull(message = "type can't be null")
    private Integer type;
    @NotNull(message = "width can't be null")
    private Integer width;
    @NotNull(message = "height can't be null")
    private Integer height;
    @NotNull(message = "duration can't be null")
    private Integer duration;


    public String getRequestId() {
        return requestId;
    }

    public void setRequestId(String requestId) {
        this.requestId = requestId;
    }

    public String getScreenId() {
        return screenId;
    }

    public void setScreenId(String screenId) {
        this.screenId = screenId;
    }

    public String getChannelId() {
        return channelId;
    }

    public void setChannelId(String channelId) {
        this.channelId = channelId;
    }

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }

    public Integer getDeviceType() {
        return deviceType;
    }

    public void setDeviceType(Integer deviceType) {
        this.deviceType = deviceType;
    }

    public Integer getOsType() {
        return osType;
    }

    public void setOsType(Integer osType) {
        this.osType = osType;
    }

    public String getOsVersion() {
        return osVersion;
    }

    public void setOsVersion(String osVersion) {
        this.osVersion = osVersion;
    }

    public String getVendor() {
        return vendor;
    }

    public void setVendor(String vendor) {
        this.vendor = vendor;
    }

    public String getModel() {
        return model;
    }

    public void setModel(String model) {
        this.model = model;
    }

    public Double getScreenSize() {
        return screenSize;
    }

    public void setScreenSize(Double screenSize) {
        this.screenSize = screenSize;
    }

    public Integer getCoordinateType() {
        return coordinateType;
    }

    public void setCoordinateType(Integer coordinateType) {
        this.coordinateType = coordinateType;
    }

    public Double getLongitude() {
        return longitude;
    }

    public void setLongitude(Double longitude) {
        this.longitude = longitude;
    }

    public Double getLatitude() {
        return latitude;
    }

    public void setLatitude(Double latitude) {
        this.latitude = latitude;
    }

    public String getIpv4() {
        return ipv4;
    }

    public void setIpv4(String ipv4) {
        this.ipv4 = ipv4;
    }

    public Integer getConnectionType() {
        return connectionType;
    }

    public void setConnectionType(Integer connectionType) {
        this.connectionType = connectionType;
    }

    public Integer getOperatorType() {
        return operatorType;
    }

    public void setOperatorType(Integer operatorType) {
        this.operatorType = operatorType;
    }

    public String getCellularId() {
        return cellularId;
    }

    public void setCellularId(String cellularId) {
        this.cellularId = cellularId;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Integer getWidth() {
        return width;
    }

    public void setWidth(Integer width) {
        this.width = width;
    }

    public Integer getHeight() {
        return height;
    }

    public void setHeight(Integer height) {
        this.height = height;
    }

    public Integer getDuration() {
        return duration;
    }

    public void setDuration(Integer duration) {
        this.duration = duration;
    }

    public String getImei() {
        return imei;
    }

    public void setImei(String imei) {
        this.imei = imei;
    }

    public String getMac() {
        return mac;
    }

    public void setMac(String mac) {
        this.mac = mac;
    }

    public String getAndroidId() {
        return androidId;
    }

    public void setAndroidId(String androidId) {
        this.androidId = androidId;
    }
}
